package com.gem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gem.entity.Product;

import java.util.List;

/**
 * @author 刘聪
 * Created  on 2021/3/21
 */
public interface ProductService extends IService<Product> {
    List<Product> findByCategoryId(Integer categoryId);

//    IPage<Product> selectPage(Page<Product> page);
    Page selectAll(Integer pageNum);
}